package com.drug.mingkang.model;

import com.drug.mingkang.utils.FenYe;

import java.io.Serializable;
import java.util.Date;

/**
 * (SellDetail)实体类
 *
 * @author wenchangjian
 * @since 2020-08-11 12:00:14
 */
public class SellDetail extends FenYe implements Serializable {
    private static final long serialVersionUID = 696775901240991195L;
  /**
    * 销售明细id
    */
    private String detailId;
  /**
    * 销售id
    */
    private String sellId;
  /**
    * 会员id
    */
    private String memberId;
  /**
    * 药品ID
    */
    private String drugId;
  /**
    * 数量
    */
    private Integer detailCount;
  /**
    * 价格
    */
    private Double price;
  /**
    * 是否有效
    */
    private Integer isva;
  /**
    * 排序
    */
    private Integer sort;
  /**
    * 操作人
    */
    private String operator;
  /**
    * 备注
    */
    private String remark;
    /**
     * 时间
     */
    private Date optime;

  
    public String getDetailId() {
        return detailId;
    }

    public void setDetailId(String detailId) {
        this.detailId = detailId;
    }
  
    public String getSellId() {
        return sellId;
    }

    public void setSellId(String sellId) {
        this.sellId = sellId;
    }
  
    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }
  
    public String getDrugId() {
        return drugId;
    }

    public void setDrugId(String drugId) {
        this.drugId = drugId;
    }
  
    public Integer getDetailCount() {
        return detailCount;
    }

    public void setDetailCount(Integer detailCount) {
        this.detailCount = detailCount;
    }
  
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
  
    public Integer getIsva() {
        return isva;
    }

    public void setIsva(Integer isva) {
        this.isva = isva;
    }
  
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
  
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
  
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }

    //药品名称
    private String drugName;
    //折扣率
    private Double discount;
    //批发价
    private Double drugWho;
    //零售价
    private Double drugRetail;

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Double getDrugWho() {
        return drugWho;
    }

    public void setDrugWho(Double drugWho) {
        this.drugWho = drugWho;
    }

    public Double getDrugRetail() {
        return drugRetail;
    }

    public void setDrugRetail(Double drugRetail) {
        this.drugRetail = drugRetail;
    }
}